home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!datalytics!usenet
- From: Rob Stewart <stew@datalytics.com>
- Newsgroups: comp.lang.c++
- Subject: Re: const member functions..
- Date: Wed, 17 Apr 1996 15:12:29 -0400
- Organization: Datalytics, Inc
- Message-ID: <3175429D.46D3@datalytics.com>
- References: <4krjlj$spn@canopus.cc.umanitoba.ca>
- NNTP-Posting-Host: 204.62.224.71
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- rdanse@pobox.com wrote:
- >
- > What does the const operator do when used at the end of a member
- > function declaration in an object class?
- >
-
- It declares a const member function, which is a mf that doesn't
- change the state of the object and thus may be used on a const
- object.
-
- --
- Robert Stewart | My opinions are usually my own.
- Datalytics, Inc. | stew@datalytics.com
-